* cmds.c (nonundocount): New global variable.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 12 Aug 2009 05:07:48 +0000 (05:07 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 12 Aug 2009 05:07:48 +0000 (05:07 +0000)
commit59fde277c83850c4a0b0a0a5d6c6898467600a0c
tree662fa43204395adbb3772ea1354a76eca43e19a4
parent4c1b5cf5e1e5d1560e60c5b7cfcc9d60be2b0e06
* cmds.c (nonundocount): New global variable.
(keys_of_cmds): Initialize it.
(Fself_insert_command): Use it to combine upto 20 sequential chars
into a single undo entry, just like the Qself_insert_command code in
keyboard.c does.
Call frame_make_pointer_invisible, also like the Qself_insert_command
code in keyboard.c does.
* keyboard.c (command_loop_1): Use the new global nonundocount rather
than its own local replacement for it.
src/ChangeLog
src/cmds.c
src/keyboard.c